package com.linkhub.oms.admin.modules.product.excel.enums;

import com.linkhub.oms.component.excel.converter.ExcelCellEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Description: CategoryCellMappingEnum
 * @Author: echo
 * @Date: 2024/5/11 16:19
 * @Version: 1.0
 */
@Getter
@AllArgsConstructor
public enum LogisticsAttributeCellMappingEnum implements ExcelCellEnumConvert<String, Integer> {

    MAGNETIC("Magnetic", 1),
    ELECTRIC("Electricity", 2),
    LIQUID("Liquid", 3),
    POWDER("Powder", 4),
    FRAGILE("Fragile", 5),
    PASTE("Paste", 6),
    COSMETICS("Cosmetics", 7),
    TEXTILES("Textiles", 8),
    INTERNAL_BATTERY_LT_100("Internal battery lt 100 WH", 9),
    INTERNAL_BATTERY_GE_100("Internal battery ge 100 WH", 10),
    MATCHING_BATTERY_LT_100("Matching battery lt 100 WH", 11),
    MATCHING_BATTERY_GE_100("Matching battery ge 100 WH", 12),
    ADULT_PRODUCTS("Adult products", 13),
    FDA_APPROVED_PRODUCT("FDA approved product", 14),
    LOG("Log", 15),
    WOOD_PRODUCTS("Wood products", 16),
    CLOTHING("Clothing", 17),


    C_MAGNETIC("带磁", 1),
    C_ELECTRIC("纯电", 2),
    C_LIQUID("液体", 3),
    C_POWDER("粉末", 4),
    C_FRAGILE("易碎", 5),
    C_PASTE("膏体", 6),
    C_COSMETICS("化妆品", 7),
    C_TEXTILES("纺织品", 8),
    C_INTERNAL_BATTERY_LT_100("内置电池小于100W*H", 9),
    C_INTERNAL_BATTERY_GE_100("内置电池大于等于100W*H", 10),
    C_MATCHING_BATTERY_LT_100("配套电池小于100W*H", 11),
    C_MATCHING_BATTERY_GE_100("配套电池大于等于100W*H", 12),
    C_ADULT_PRODUCTS("成人用品", 13),
    C_FDA_APPROVED_PRODUCT("FDA认证产品", 14),
    C_LOG("原木", 15),
    C_WOOD_PRODUCTS("木质品", 16),
    C_CLOTHING("服装类", 17),

    ;


    private final String cellData;

    private final Integer convertValue;

    @Override
    public String getCode() {
        return this.cellData;
    }

    @Override
    public Integer getValue() {
        return getConvertValue();
    }
}
